const Service = require('egg').Service;
class spiderService extends Service{
	async getData(page){
		let url = 'http://wiki.joyme.com/arknights/%E5%9B%BE%E9%89%B4%E4%B8%80%E8%A7%88';
		url = url+'?page='+page+'&ka=page-'+page;
		const result = await this.ctx.curl(url,{
			dataType:'text',
		});
		return result
	}
}

module.exports = spiderService;